package com.xbts.common.enums;

/**
 * @Author llk
 * @Date 2023/8/23 15:02
 */
public enum ShoppingCarEnums {

    CLOUD_SERVER("云服务器"),
    CLOUD_MARKET("云市场"),
    GOV_CLOUD("政务云"),
    CLOUD_SERVER_RENEW("云服务器续费"),
    CLOUD_SERVER_CHANGE("云服务器变更"),
    RECHARGE("充值"),
    ;

    private String description;

    ShoppingCarEnums(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public static ShoppingCarEnums getByName(String str) {
        for (ShoppingCarEnums value : ShoppingCarEnums.values()) {
            if (value.name().equals(str)) {
                return value;
            }
        }
        return null;
    }
}
